using Basis;
using UnityEngine;

namespace NL.Advanced
{
    public partial class CombatObj<P>
    {
        [SerializeField] Target _NowTarget;

        public Target Target { get => _NowTarget; set => _NowTarget = value; }


        public void SetTarget(GameObject who) => _NowTarget.Set(who);


        public void SetTarget(Vector3 pos) => _NowTarget.Set(pos);

    }
}

